//
//  DeclareViewController.m
//  EnglishTalk
//
//  Created by kim on 15/1/21.
//  Copyright (c) 2015年 ishowtalk. All rights reserved.
//

#import "FZAgreementDeclareViewController.h"

@interface FZAgreementDeclareViewController ()

@end

@implementation FZAgreementDeclareViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    if(self.titleString){
        self.title = self.titleString;
    }else{
        self.title = @"login_installAgreementTitle";
    }
    if(self.msg){
        self.textView.text = self.msg;
    }
    
    self.textView.textAlignment = NSTextAlignmentLeft;
}

- (void)viewWillAppear:(BOOL)animated{
//    [self.textView scrollsToTop];
}

- (void)viewDidAppear:(BOOL)animated{
//    [self.textView scrollsToTop];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
